#pragma once

#include <iostream>
#include <vector>

typedef void (*task_t)();

void task1()
{
    std::cout << "增加------------------------增加" << std::endl;
}
void task2()
{
    std::cout << "删除------------------------删除" << std::endl;
}
void task3()
{
    std::cout << "修改------------------------修改" << std::endl;
}
void task4()
{
    std::cout << "查找------------------------查找" << std::endl;
}

void LoadTask(std::vector<task_t> *tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}